package v2.parser

/**
 * @author bweber
 * @version $Rev$, $Date$
 */

class Link private (var pointsAt:List[String]) extends Value {
  def getType() = {
    Type("link")
  }
  override def toString() = {
    "link to " + pointsAt.mkString(", ")
  }
}

object Link {
  def apply(pointsAt:List[String]) = {
    new Link(pointsAt)
  }
}